package linuxbox.download.logic;

public class DlCatObject {
	protected int m_iID = -1;         
	protected String m_sName = null;
	protected String m_sDir = null;
	protected String m_sDesc = null;

	public DlCatObject() {
		
	}
	
	public DlCatObject(String name, String dir, String desc) {
		m_sName = name;
		m_sDir = dir;
		m_sDesc = desc;
	}

	public DlCatObject(int id, String name, String dir, String desc) {
		m_iID = id;
		m_sName = name;
		m_sDir = dir;
		m_sDesc = desc;
	}

	public void copyFrom(DlCatObject entry) {
		m_iID = entry.getID();
		m_sName = entry.getName();
		m_sDir = entry.getDir();
		m_sDesc = entry.getDesc();
	}

	public int getID() {
		return m_iID;
	}

	public void setID(int id) {
		m_iID = id;
	}

	public String getName() {
		return m_sName;
	}
	
	public void setName(String str) {
		m_sName = str;
	}
  
	public String getDir() {
		return m_sDir;
	}
	
	public void setDir(String str) {
		m_sDir = str;
	}

	public String getDesc() {
		return m_sDesc;
	}
	
	public void setDesc(String str) {
		m_sDesc = str;
	}
}
